package com.souyun.serverbloguser.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

// http://localhost:8080

@Controller
public class BaseController {

    @RequestMapping(value = "/")
    @ResponseBody
    public String welcome(ModelMap model) {
        return "Hello, I am server blog user!!!";
    }
}
